package com.ifnk.portaljava.hlyt.beans;

import java.sql.Timestamp;
import java.util.Date;

/**
 * <p>Title:日志类</p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2010</p>
 *
 * <p>Company: </p>
 *
 * @author  xiaoyan.zhang.hlyt@gmail.com
 * @version 1.0
 */
public class Log implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -4977576227411097212L;
	private Integer id;
	private String level;
	private Date time;
	private String userName;
	private String userIp;
	private String moduleName;
	private String event;
	private String info;
	private String result;

	// Constructors

	/** default constructor */
	public Log() {
	}

	/** full constructor */
	public Log(String level, Timestamp time, String userName, String userIp,
			String moduleName, String event, String info, String result) {
		this.level = level;
		this.time = time;
		this.userName = userName;
		this.userIp = userIp;
		this.moduleName = moduleName;
		this.event = event;
		this.info = info;
		this.result = result;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getLevel() {
		return this.level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserIp() {
		return this.userIp;
	}

	public void setUserIp(String userIp) {
		this.userIp = userIp;
	}

	public String getModuleName() {
		return this.moduleName;
	}

	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}

	public String getEvent() {
		return this.event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

	public String getInfo() {
		return this.info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getResult() {
		return this.result;
	}

	public void setResult(String result) {
		this.result = result;
	}

}